#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	cin>>n;
	int week = n/7;
	int day = n%7;
	printf("%d days are %d weeks, %d days.", n, week, day);
	return 0;
}

